package com.huli.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.huli.domain.PropertyCompany;
import com.huli.dao.PropertyCompanyMapper;
import com.huli.service.IPropertyCompanyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.huli.vo.PagePropertyCompanyVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 服务实现类
 * </p>
 *
 * @author Yuri
 * @since 2020-11-10
 */
@Service
public class PropertyCompanyServiceImpl extends ServiceImpl<PropertyCompanyMapper, PropertyCompany> implements IPropertyCompanyService {

    @Autowired
    private PropertyCompanyMapper propertyCompanyMapper;

    @Override
    public IPage<PagePropertyCompanyVO> selectPropertyCompany(Page<PagePropertyCompanyVO> page, QueryWrapper<PagePropertyCompanyVO> queryWrapper) {

        return propertyCompanyMapper.pagePropertyCompany(page, queryWrapper);
    }

}
